# -*- coding: utf-8 -*-
# @Time: 2023/4/26 18:42
# @File: gunicorn.conf.py
# @Desc:

import multiprocessing

bind = "127.0.0.1:5000"
workers = multiprocessing.cpu_count() * 2 + 1
threads = 10
accesslog = "/var/log/flask_bbs/gunicorn_access.log"
error = "/var/log/flask_bbs/gunicorn_error.log"
preload = True
daemon = True
